package com.myblog.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleLikes {
    private Integer id;
    private long articleId;
    private Integer likerId;
    private String likeDate;
    private int isRead;

    public ArticleLikes(long articleId, Integer likerId, String likeDate){
        this.articleId = articleId;
        this.likerId = likerId;
        this.likeDate = likeDate;
    }
}
